#!/usr/bin/python
# -*- coding: UTF8 -*-
# Specto , Unobtrusive event notifier
#
#       specto
#
# Copyright (c) 2005-2007, Jean-François Fortin Tam ~<nekohayo a gmail.com>~

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

import os

app_name = "specto"
app_version = "0.2"

#create the specto user directory for caching and all that jazz
spectoDirectory__ = os.environ['HOME'] + "/.specto"
if not os.path.exists(spectoDirectory__):
    os.mkdir(spectoDirectory__)
cacheSubDir__ = spectoDirectory__ + "/cache/"
if not os.path.exists(cacheSubDir__):
    os.mkdir(cacheSubDir__)    

from spectlib.main import Specto
specto = Specto()
